package com.tiger.project.mapper;

import java.util.List;

import com.tiger.project.domain.AssetCollectionRecordEnclosure;
import org.springframework.stereotype.Component;


/**
 * 【租金进账附件】Mapper接口
 *
 * @author standard
 * @date 2022-10-08
 */
@Component
public interface AssetCollectionRecordEnclosureMapper {
    /**
     * 查询【租金进账附件】
     *
     * @param id 【租金进账附件】主键
     * @return 【租金进账附件】
     */
    public AssetCollectionRecordEnclosure selectAssetCollectionRecordEnclosureById(Long id);

    /**
     * 查询【租金进账附件】列表
     *
     * @param assetCollectionRecordEnclosure 【租金进账附件】
     * @return 【租金进账附件】集合
     */
    public List<AssetCollectionRecordEnclosure> selectAssetCollectionRecordEnclosureList(AssetCollectionRecordEnclosure assetCollectionRecordEnclosure);

    /**
     * 新增【租金进账附件】
     *
     * @param assetCollectionRecordEnclosure 【租金进账附件】
     * @return 结果
     */
    public int insertAssetCollectionRecordEnclosure(AssetCollectionRecordEnclosure assetCollectionRecordEnclosure);

    /**
     * 修改【租金进账附件】
     *
     * @param assetCollectionRecordEnclosure 【租金进账附件】
     * @return 结果
     */
    public int updateAssetCollectionRecordEnclosure(AssetCollectionRecordEnclosure assetCollectionRecordEnclosure);

    /**
     * 删除【租金进账附件】
     *
     * @param id 【租金进账附件】主键
     * @return 结果
     */
    public int deleteAssetCollectionRecordEnclosureById(Long id);

    public int deleteAssetCollectionRecordEnclosureByReceiptId(Long id);

    /**
     * 批量删除【租金进账附件】
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteAssetCollectionRecordEnclosureByIds(Long[] ids);
    }
